package com.example.chenjun.myapplication.mvp.contract;

import com.example.chenjun.myapplication.bean.LabelBean;
import com.example.chenjun.myapplication.mvp.BasePresenter;
import com.example.chenjun.myapplication.mvp.IView;
import com.example.chenjun.myapplication.mvp.model.CookModel;

import java.util.List;

public class LabelsContract {

    public interface LabelsView extends IView{
        void getLabelsSuccess(List<LabelBean> list);

        void getLabelsFailed(Exception e);
    }

    public static abstract class AbstractLabelsPresenter extends BasePresenter<CookModel, LabelsView>{
        public abstract void getCookLabel();
    }
}
